<template>
  <view class="pay-fail-page">
    <view class="result-icon fail">
      <text>✖</text>
    </view>
    <view class="result-text">支付失败!</view>
    <view class="fail-reason">您的余额不足，请立即充值</view>
    <view class="recharge-btn" @click="recharge">立即充值</view>
  </view>
</template>

<script setup>
function goBack() {
  uni.navigateBack()
}
function recharge() {
  uni.switchTab({ url: '/pages/C/home/index' })
}
</script>

<style src="./pay-fail.css" scoped></style> 